package com.tiantai.system.mapper;

import java.util.List;
import com.tiantai.system.domain.TeaManagement;

/**
 * 茶叶份额Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-21
 */
public interface TeaManagementMapper 
{
    /**
     * 查询茶叶份额
     * 
     * @param id 茶叶份额主键
     * @return 茶叶份额
     */
    public TeaManagement selectTeaManagementById(Long id);

    /**
     * 查询茶叶份额列表
     * 
     * @param teaManagement 茶叶份额
     * @return 茶叶份额集合
     */
    public List<TeaManagement> selectTeaManagementList(TeaManagement teaManagement);

    /**
     * 新增茶叶份额
     * 
     * @param teaManagement 茶叶份额
     * @return 结果
     */
    public int insertTeaManagement(TeaManagement teaManagement);

    /**
     * 修改茶叶份额
     * 
     * @param teaManagement 茶叶份额
     * @return 结果
     */
    public int updateTeaManagement(TeaManagement teaManagement);

    /**
     * 删除茶叶份额
     * 
     * @param id 茶叶份额主键
     * @return 结果
     */
    public int deleteTeaManagementById(Long id);

    /**
     * 批量删除茶叶份额
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteTeaManagementByIds(Long[] ids);
}
